package com.xdf.xzymanagementsystem.dao;

import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

import com.xdf.xzymanagementsystem.entity.JcStore;
import org.apache.ibatis.annotations.Param;
import com.xdf.xzymanagementsystem.util.Example;

/**
 * @Description : 仓库
 * @Author : 张柯
 * @Date : 2021-01-09 17:05:38
 */
@Repository
public interface JcStoreMapper {
    int insert(JcStore record);

    int insertSelective(JcStore record);

    int multiInsert(List<JcStore> list);

    int insertDumplicateKeyUpdate(JcStore record);

    int updateByPrimaryKey(JcStore record);

    int updateByPrimaryKeySelective(JcStore record);

    int multiUpdate(List<JcStore> list);

    int deleteByPrimaryKey(String id);

    JcStore selectByPrimaryKey(String id);

    List<JcStore> selectAll();

    List<JcStore> selectByParam(JcStore record);

    int updateByExampleSelective(@Param("record") JcStore record, @Param("example") Example example);

    int deleteByExample(@Param("example") Example example);

    List<JcStore> selectByExample(@Param("example") Example example);

    int insertByExampleSelective(@Param("record") JcStore record, @Param("example") Example example);

    long countByExample(@Param("example") Example example);
    List<JcStore> getAllStoreMaterial();
}